(* main.ml - Main file of fearofthemap project.
 * Licence: LGPLv3
 * Authors: Franck "kushou" Michea < michea_f@epita.fr >
 *)

let main () =
  begin
    Args_manager.parse_args ();
    if Process.process.Types.steps <> Types.Base &&
      not Process.process.Types.output then
      Io.init ()
    else if not !Grapheng.started then Gui.main ();
    Process.process_steps ();
  end

let _ = main ()
